---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: &app test-app
spec:
  selector:
    matchLabels:
      service: *app
  endpoints:
  - port: web